package com.sllp.C71S3TsllpShop.bean;

import java.util.List;

public class SmallType {
	
	private Integer id;

    private String name;

    private Integer parent;

    private Integer state;
    
    private List<Product> product;
    
    private List<BigType> bigType;
    
    public List<Product> getProduct() {
		return product;
	}

	public void setProduct(List<Product> product) {
		this.product = product;
	}

	public SmallType(Integer id, String name, Integer parent, Integer state) {
        this.id = id;
        this.name = name;
        this.parent = parent;
        this.state = state;
    }

	public List<BigType> getBigType() {
		return bigType;
	}

	public void setBigType(List<BigType> bigType) {
		this.bigType = bigType;
	}

    public SmallType() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getParent() {
        return parent;
    }

    public void setParent(Integer parent) {
        this.parent = parent;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }
}